package com.gitee.huanminabc.fastboot.web.validation;


import com.gitee.huanminabc.fastboot.web.annotation.validation.Depth;

import java.lang.annotation.Annotation;

/**
 * @description:
 * @author: huanmin
 * @create: 2025-04-02 15:11
 **/
public class DepthValidationVerify implements ValidationVerify {
    @Override
    public Class<?> getAnnotation() {
        return Depth.class;
    }

    @Override
    public void verify(Object value, Annotation annotation,String gprmc) throws Exception {
        if (value!=null){
            ValidationUtil.verifyClass(value,gprmc);
        }
    }
}
